
package fr.afcepf.hotels.soa.facade;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for optionLocation complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="optionLocation">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="idOption" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="isQuantifiable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="libelleOption" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="prixUnitaire" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
 *         &lt;element name="reservationOptions" type="{http://facade.soa.hotels.afcepf.fr/}reservationOption" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "optionLocation", propOrder = {
    "idOption",
    "isQuantifiable",
    "libelleOption",
    "prixUnitaire",
    "reservationOptions"
})
public class OptionLocation {

    protected int idOption;
    protected boolean isQuantifiable;
    protected String libelleOption;
    protected Float prixUnitaire;
    @XmlElement(nillable = true)
    protected List<ReservationOption> reservationOptions;

    /**
     * Gets the value of the idOption property.
     * 
     */
    public int getIdOption() {
        return idOption;
    }

    /**
     * Sets the value of the idOption property.
     * 
     */
    public void setIdOption(int value) {
        this.idOption = value;
    }

    /**
     * Gets the value of the isQuantifiable property.
     * 
     */
    public boolean isIsQuantifiable() {
        return isQuantifiable;
    }

    /**
     * Sets the value of the isQuantifiable property.
     * 
     */
    public void setIsQuantifiable(boolean value) {
        this.isQuantifiable = value;
    }

    /**
     * Gets the value of the libelleOption property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getLibelleOption() {
        return libelleOption;
    }

    /**
     * Sets the value of the libelleOption property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setLibelleOption(String value) {
        this.libelleOption = value;
    }

    /**
     * Gets the value of the prixUnitaire property.
     * 
     * @return
     *     possible object is
     *     {@link Float }
     *     
     */
    public Float getPrixUnitaire() {
        return prixUnitaire;
    }

    /**
     * Sets the value of the prixUnitaire property.
     * 
     * @param value
     *     allowed object is
     *     {@link Float }
     *     
     */
    public void setPrixUnitaire(Float value) {
        this.prixUnitaire = value;
    }

    /**
     * Gets the value of the reservationOptions property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the reservationOptions property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getReservationOptions().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ReservationOption }
     * 
     * 
     */
    public List<ReservationOption> getReservationOptions() {
        if (reservationOptions == null) {
            reservationOptions = new ArrayList<ReservationOption>();
        }
        return this.reservationOptions;
    }

}
